Show Text (& Vocal) Banner
(19 actions, 17 KB)
0 Get Dictionary from
[Shortcut Input]
»
1
2
3
5
9
15
1 If
[0 Dictionary
.title
]
has any value
2 Text-Case > TextCaseIntent »
text
:
[0 Dictionary
.title
]
format
:
boldSans
ShowWhenRun
:
false
3 Show Alert
[0 Dictionary
.text
]
AlertActionCancelButtonShown
:
false
AlertActionTitle
:
[2 Formatted Text]
4 Otherwise
5 Show Alert
[0 Dictionary
.text
]
AlertActionCancelButtonShown
:
false
6 End If
7 ToolboxProForShortcuts > GetAudioOutputsIntent »
8 If
[7 Connections
’s Name
]
contains
🎧
9 Get Dictionary Value for
text
in
[0 Dictionary]
»
10
11
13
10 If
[9 Dictionary Value
’s Name
]
contains
?
11 Run Shortcut
Get Question Text
Input
:
[9 Dictionary Value]
Workflow
:
{ "workflowIdentifier": "D2F25FF3-1625-48E4-9374-4550C1FA6E7E", "workflowName": "Get Question Text", "isSelf": false }
12 Otherwise
13 Actions > RemoveEmojiIntent
text
:
[9 Dictionary Value]
14 End If »
15 Dictionary »
{ "text": "
[14 If Result]
", "language": "
[0 Dictionary
.language
]
" }
16 Run Shortcut
_Text2Speech
Input
:
[15 Dictionary]
Workflow
:
{ "workflowIdentifier": "9E67FDF1-AE7E-4051-8D46-DDFD104CB87C", "workflowName": "_Text2Speech", "isSelf": false }
17 End If ▵
8
18 Stop This Shortcut